package com.longqinuo.mycarservice.entity;

/**
 * Created by zxw on 2016/7/3.
 */
public class SecondCar {


    /**
     * image : 44_1.png,44_2.png,44_3.png,44_4.png,44_5.png,44_6.png
     * km : 1.9
     * tab : 原厂质保
     * price : 30.5
     * buyDate : 2014-09-01 00:00:00
     * id : 273
     * title : 英菲尼迪QX50(进口
     * ) 2013款 2.5L 两驱优雅版
     */


    private String image;
    private double km;
    private String tab;
    private double price;
    private String buyDate;
    private int id;
    private String title;

    public SecondCar() {
    }

    public SecondCar(String image, double km, String tab, double price, String buyDate, int id, String title) {
        this.image = image;
        this.km = km;
        this.tab = tab;
        this.price = price;
        this.buyDate = buyDate;
        this.id = id;
        this.title = title;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public double getKm() {
        return km;
    }

    public void setKm(double km) {
        this.km = km;
    }

    public String getTab() {
        return tab;
    }

    public void setTab(String tab) {
        this.tab = tab;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getBuyDate() {
        return buyDate;
    }

    public void setBuyDate(String buyDate) {
        this.buyDate = buyDate;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    @Override
    public String toString() {
        return "SecondCar{" +
                "image='" + image + '\'' +
                ", km=" + km +
                ", tab='" + tab + '\'' +
                ", price=" + price +
                ", buyDate='" + buyDate + '\'' +
                ", id=" + id +
                ", title='" + title + '\'' +
                '}';
    }
}
